<%--
  Created by IntelliJ IDEA.
  User: 吴慧跃
  Date: 2022/5/19
  Time: 23:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>Title</title>
    <link href="/static/css/bootstrap.css" rel="stylesheet">
    <script type="text/javascript" src="/static/js/jquery-3.2.1.js"></script>
    <script src="/static/js/echarts.js"></script>
</head>
<body>
<form:form modelAttribute="user" action="/user/update" method="post">
    <form:hidden path="id"/><br>
    姓名<form:input path="username"/><br>
    密码<form:input path="password"/><br>
    手机号<form:input path="telephone"/><form:errors path="telephone" cssClass="text-danger"/><br>
    生日<form:input path="birthday"/><form:errors path="birthday" cssClass="text-danger"/><br>
    性别<form:input path="sex"/><br>
    <input type="submit" value="修改">
</form:form>
</body>
</html>
